﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.Domain
{
    /// <summary>
    /// 养殖信息表
    /// </summary>
    public class Farm
    {
        /// <summary>
        /// 养殖信息
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 批次Id
        /// </summary>
        public string BatchId { get; set; } 

        /// <summary>
        /// 养殖品种的名称
        /// </summary>
        public string? TypeName { get; set; }

        /// <summary>
        /// 养殖物的来源信息
        /// </summary>
        public string? Source { get; set; }

        /// <summary>
        /// 饲养的天数
        /// </summary>
        public int FeedDays { get; set; }

        /// <summary>
        /// 使用的饲料品牌
        /// </summary>
        public string? FeedBrand { get; set; }

        /// <summary>
        /// 负责饲养的人员姓名
        /// </summary>
        public string? FeedPerson { get; set; }

        /// <summary>
        /// 出栏日期，年月日默认值为空
        /// </summary>
        public DateTime? OutboundTime { get; set; }
    }
}
